import service from '@/utils/request'

export function updateCurriculumScheduleService(startDate,endDate,classroomId, courseData) {
    const data = {
        classroomId,
        courseData,
        startDate,
        endDate
    };
    return service({
        url: "/curriculumSchedule/update",
        method: "post",
        data
    });
}

export function getCurriculumScheduleService(startDate, endDate) {
    const params = {
        startDate,
        endDate
    };
    return service({
        url: "/curriculumSchedule/teacher/get",
        method: "get",
        params
    });
}